package com.sbj.dto.res;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.sbj.dto.jackson.CustomDecimalSerialize;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author summer
 * @version 1.0
 * @date 2024/9/13 14:25
 */
@Data
public class ShopItemRes implements Serializable {

    private Integer goodsId;

    private String goodsName;

    private String goodsImage;

    @JsonSerialize(using = CustomDecimalSerialize.class)
    private BigDecimal goodsPrice;

    private Integer goodsNum;

    private String qualityName;
}
